package handle

import (
	"gitchina/CPTT4WeChat/protobuf"
	_ "gitchina/CPTT4WeChat/util"
)

func Auth(fromUserName string) (p *protobuf.User, authOk bool) {
	var usr User
	p, authOk = usr.GetByOpenId(fromUserName)
	return
}
